<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
模板学习
<br>
{{ name }}
<br>
{{ job }}
<br>
{{ job.0 }}
{{ job.1 }}
{{ job.2 }}


<hr>
<div>
 {% for item in job %}
    <span style="color:blue">{{ item }}</span>
    {% endfor %}
</div>
<hr/>

<ul>
{% for key,value in description.items %}
    <li>
        {{ key }}==={{ value }}
    </li>
{% endfor %}
</ul>

<li>
    {{ description.name }}
</li>
<li>
    {{ description.age }}
</li>


{% for item in list %}

{#    {{ item.name }}  {{ item.sex }} {{ age }}#}

    {% for k ,v in item.items %}
    {{ k }} =={{ v }}
    {% endfor %}

{% endfor %}

<br>
{#支持if else 语句#}
{% if  name1 == "mocky" %}
    hello hello
{% else %}
    kogou  kugou
{% endif %}

</body>
</html>